package 实验四;

public class PrintLettersRunnable implements Runnable {
    @Override
    public void run() {
        for (char ch = 'A'; ch <= 'J'; ch++) {
            System.out.println(ch);
        }
    }
    public static void main(String[] args) {
        PrintLettersRunnable runnable = new PrintLettersRunnable();
        Thread thread = new Thread(runnable);
        thread.start();
    }
}
